/**
 * @author lingkang
 * created by 2023/11/24
 */
public class Demo05 {
    public static void main(String[] args) {
        String[] split="12118 ?        00:01:08 nginx"
                .replaceAll("  "," ")
                .replaceAll("  "," ")
                .replaceAll("  "," ")
                .replaceAll("  "," ")
                .replaceAll("  "," ")
                .split(" ");
        System.out.println(split.length);
    }
}
